package com.htu.model.impl;

import com.htu.domain.Admin;
import com.htu.model.IAdminModel;
import com.htu.service.IAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class AdminModelImpl implements IAdminModel
{
    @Autowired
    private IAdminService service;

    @Override
    public Admin doAdminLogin(String id, String password)
    {
        return service.doAdminLogin(id, password);
    }
}
